package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 智能机巡检表 t_machine_deliver
 * 
 * @author ruoyi
 * @date 2019-08-07
 */
public class MachineDeliver extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Long id;
	/** 投递编号 */
	private Long tid;
	/** 名称 */
	private String name;
	/** 用户id */
	private Long uid;
	/** 积分 */
	private Integer integral;
	/** 状态 1：通过 2：未通过 */
	private String type;
	/** 创建时间 */
	private Date createDate;
	/** 状态（0正常 1停用） */
	private String status;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setTid(Long tid) 
	{
		this.tid = tid;
	}

	public Long getTid() 
	{
		return tid;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setUid(Long uid) 
	{
		this.uid = uid;
	}

	public Long getUid() 
	{
		return uid;
	}
	public void setIntegral(Integer integral) 
	{
		this.integral = integral;
	}

	public Integer getIntegral() 
	{
		return integral;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tid", getTid())
            .append("name", getName())
            .append("uid", getUid())
            .append("integral", getIntegral())
            .append("type", getType())
            .append("createDate", getCreateDate())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
